package com.dao;

import java.sql.Date;
import java.util.List;

import javax.servlet.http.HttpSession;

import com.model.Agent;
import com.model.Bank;
import com.model.BankDeposit;
import com.model.BankWithdraw;

public interface BankDao {
	public void add(String branch,Bank bank);

	public List<Bank> getAll(int page);
	
	public List<Bank> getAll();
	
	
	public Bank get(Integer id);
	
	public void delete(Integer id);
	
	public List<Bank> getByDate(Date from,Date to); 
		
	public int getNoOfRecords();
	public List<Bank> getAllForUser(String name);
	public List<Bank> getAllForAdmin();
	public void addDeposit(Integer bankId,BankDeposit deposit);
	public void addWithdraw(Integer bankId,BankWithdraw withdraw);
	public List getBankName();
}
